﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
     static class Program
    {
        static void Main(string[] args)
        {
            string[] arr =
             {
               "我很帅",
               "知道吗",
            };
            arr.PrintArrayInfo();
            
            var str = "我比你爸帅，嘤嘤嘤";
            var a = str.Split(',');
            a.PrintArrayInfo();
            foreach (var item in str)
            {
                Console.WriteLine(item);
            }
        }
        public static void PrintArrayInfo(this string[] arr)
        {
            for (int  i =0;i<arr.Length;i++)
            {
                Console.WriteLine(arr[i]);
            }
        }
    }
}
